Skip to main content
Version: 1.0
Endpoints Summary
GET One pool lifetime statistics

GET One pool lifetime statistics

Pool lifetime activity statistics for a given pool.

GET /api/bi/pools/{pool_hash}/stats/lifetime

🎰 Parameters

NameDescriptionInTypeRequired
pool_hashThe Bech32 encoding of a given pool hashpathstringtrue

👨‍💻 Code samples

const CBI = await new CardanoBI({ apiKey: 'YOUR-KEY', apiSecret: 'YOUR-SECRET' }); 
const lifetime stats_lifetime = await CBI.bi.pools.stats.lifetime_({ pool_hash: "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc" });
console.log(lifetime stats_lifetime);

💌 Response Codes

OK: Successful request.

{
"pool_hash": "pool1y24nj4qdkg35nvvnfawukauggsxrxuy74876cplmxsee29w5axc",
"tx_count_lifetime": 12211,
"block_count_lifetime": 786,
"delegator_count_lifetime": 7635,
"delegated_stakes_lifetime": 865624664452630,
"delegator_count_lifetime_avg": 37.06310679611651,
"delegated_stakes_lifetime_avg": 4202061477925.388
}

💌 Response Schemas

Status Code 200

NameTypeDescription
pool_hashstringThe Bech32 encoding of the pool hash.
tx_count_lifetimeinteger(int64)The lifetime transaction count.
block_count_lifetimeinteger(int64)The lifetime block count.
delegator_count_lifetimeinteger(int64)The lifetime delegator count.
delegated_stakes_lifetimenumber(double)The lifetime delegated stake for the given pool (lifetime active stake).
delegator_count_lifetime_avgnumber(double)The lifetime average delegator count.
delegated_stakes_lifetime_avgnumber(double)The lifetime average delegated stake for the given pool (lifetime average active stake).